package com.nus.fellowmark.modules.assignment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nus.fellowmark.common.utils.PageUtils;
import com.nus.fellowmark.entity.AssignmentEntity;
import com.nus.fellowmark.modules.assignment.dto.AssignmentDTO;
import com.nus.fellowmark.modules.assignment.dto.UpdateAssignmentDTO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Chen Ruoyi
 * @email chenruoyisz@gmail.com
 * @date 2023-02-10  
 */
public interface AssignmentService extends IService<AssignmentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    AssignmentEntity addAssignment(AssignmentDTO assignmentDTO);

    void updateAssignment(UpdateAssignmentDTO assignmentDTO);

    List<AssignmentEntity> listAssignment(Integer moduleId);
}

